<!--home-->
<br/><br/><br/><br/>
<div class="container" ms-controller="home">
    <div class="row">
        <div class="span3">
            <div class="panel panel-white">
                <!--输入接口-->
                <div>
                    <label for="port">输入接口ID:</label>
                    <input class="foo" type="text" id="port" placeholder="请输入接口ID" ms-duplex="apiID"/>
                </div>
                <br/>
                <br/>

                <!--选择请求域-->
                <div>
                    选择请求域:
                     <div ms-repeat="apiURL" class="foo">
                         <input  type="radio" ms-click="IsChecked($index)" ms-duplex-checked="el.toggle" value="el.value"/>{{el.URL}}
                     </div>
                </div>
                <br/>
                <br/>
                <!--按钮-->
                <div>
                    <button class="btn btn-primary btn-pill">查看接口文档</button>
                </div>
                <br/>
            </div>
        </div>
        <div class="span9">
        <div class="panel">
            <div>name={{Title}};&nbsp;&nbsp;&nbsp;&nbsp;i={{apiID}};&nbsp;&nbsp;&nbsp;&nbsp;v={{version}}</div>
            <hr>
            <div>描述：&nbsp;&nbsp;&nbsp;{{Memo}}</div>
            <br/>
            <div>请求参数：</div>
            <br/>
            <div class="row">
                <div class="span1">英文名</div>
                <div class="span1">中文名</div>
                <div class="span1">类型</div>
                <div class="span1">说明</div>
                <div class="span1">必须</div>
                <div class="span1">最小值</div>
                <div class="span1">最大值</div>
                <div class="span1">默认值</div>
            </div>
            <div class="row" ms-repeat="Request">
                <div class="span1">{{$key}}</div>
                <div class="span1">{{$val.ZN}}</div>
                <div class="span1">{{$val.ParamType}}</div>
                <div class="span1">{{$val.Memo}}</div>
                <div class="span1">{{$val.Must}}</div>
                <div class="span1">{{$val.Min}}</div>
                <div class="span1">{{$val.Max}}</div>
                <div class="span1">{{$val.Prim}}</div>
            </div>
            <br/>
            <hr/>
            <br/>
            <div>正常情况下的json示例：</div>
            <code>
                {{demoStr}}
            </code>
            <hr/>
            <div>返回参数：</div>
            <br/>
            <div class="row">
                <div class="span1">英文名</div>
                <div class="span1">中文名</div>
                <div class="span1">类型</div>
                <div class="span2">说明</div>
                <div class="span1">必须</div>
                <div class="span1">最小值</div>
                <div class="span1">最大值</div>
            </div>
            <div class="row" ms-repeat="Response">
                <div class="span1">{{$key}}</div>
                <div class="span1">{{$val.ZN}}</div>
                <div class="span1">{{$val.ParamType}}</div>
                <div class="span2">{{$val.Memo}}</div>
                <div class="span1">{{$val.Must}}</div>
                <div class="span1">{{$val.Min}}</div>
                <div class="span1">{{$val.Max}}</div>
            </div>
            <br/>
        </div>
    </div>
    </div>
</div>
<br/><br/><br/><br/>